package com.zhang.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * sku图片信息表
 * </p>
 *
 * @author 创世神
 * @since 2023-10-05
 */
@Data
@TableName("my_sku_imags")
public class SkuImags implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField("sku_id")
    private Long skuId;

    @TableField("img_id")
    private Long imgId;

    @TableField("img_sort")
    private String imgSort;

    /**
     * 是否是默认图片
     */
    @TableField("is_default")
    private Integer isDefault;
}
